package com.heima.apis.user;

import com.heima.model.common.dtos.ResponseResult;
import com.heima.model.user.pojos.ApUser;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient("leadnews-user")
public interface IUserClient {


    /**
     * 添加apUser
     * @param apUser
     * @return
     */
    @PostMapping("/api/v1/apUser/add")
    public Integer addUser(@RequestBody ApUser apUser);
}
